package com.cloudkinto.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 * @author zhangyy
 * @since 2020-09-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_fba_ship_price")
public class FbaShipPriceDo extends Model<FbaShipPriceDo> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("fba_storage_id")
    private Long fbaStorageId;

    @TableField("dimens_id")
    private Long dimensId;

    @TableField("active")
    private Integer active;

    @TableField("version")
    private Integer version;

    @TableField("price")
    private double price;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
